package com.vcredit.creditcat.model;

import java.util.Date;
/**
 * 消息表
 **/
public class Message {
	/** 主键 **/
	private java.lang.Long msgId;
	/** 消息类型 **/
	private java.lang.Integer msgType;
	/** 消息标题 **/
	private java.lang.String msgTitle;
	/** 消息内容 **/
	private java.lang.String msgContent;
	/** 是否已读 0：未读 **/
	private java.lang.Boolean isRead;
	/** 阅读时间 **/
	private java.lang.String readTime;
	/** 删除时间 **/
	private java.lang.String deleteTime;
	/** 发送者用户id **/
	private java.lang.Long sender;
	/** 接收者用户id **/
	private java.lang.Long reciever;
	/** 发送时间 **/
	private java.util.Date sendTime;
	/** 备注 **/
	private java.lang.String remark;
	/** 目标对象 **/
	private java.lang.String senderTarget;
	/** 发送状态1：成功 2：失败 **/
	private java.lang.Integer sendStatus;
	/** 消息摘要 **/
	private java.lang.String msgAbstract;
	/** 是否删除：0否 **/
	private java.lang.Boolean isDelete;
	/**  **/
	private java.util.Date createTime;
	/**  **/
	private java.util.Date updateTime;

	public java.lang.Long getMsgId() {
		return msgId;
	}

	public void setMsgId(java.lang.Long msgId) {
		this.msgId = msgId;
	}

	public java.lang.Integer getMsgType() {
		return msgType;
	}

	public void setMsgType(java.lang.Integer msgType) {
		this.msgType = msgType;
	}

	public java.lang.String getMsgTitle() {
		return msgTitle;
	}

	public void setMsgTitle(java.lang.String msgTitle) {
		this.msgTitle = msgTitle;
	}

	public java.lang.String getMsgContent() {
		return msgContent;
	}

	public void setMsgContent(java.lang.String msgContent) {
		this.msgContent = msgContent;
	}

	public java.lang.Boolean getIsRead() {
		return isRead;
	}

	public void setIsRead(java.lang.Boolean isRead) {
		this.isRead = isRead;
	}

	public java.lang.String getReadTime() {
		return readTime;
	}

	public void setReadTime(java.lang.String readTime) {
		this.readTime = readTime;
	}

	public java.lang.String getDeleteTime() {
		return deleteTime;
	}

	public void setDeleteTime(java.lang.String deleteTime) {
		this.deleteTime = deleteTime;
	}

	public java.lang.Long getSender() {
		return sender;
	}

	public void setSender(java.lang.Long sender) {
		this.sender = sender;
	}

	public java.lang.Long getReciever() {
		return reciever;
	}

	public void setReciever(java.lang.Long reciever) {
		this.reciever = reciever;
	}

	public java.util.Date getSendTime() {
		return sendTime;
	}

	public void setSendTime(java.util.Date sendTime) {
		this.sendTime = sendTime;
	}

	public java.lang.String getRemark() {
		return remark;
	}

	public void setRemark(java.lang.String remark) {
		this.remark = remark;
	}

	public java.lang.String getSenderTarget() {
		return senderTarget;
	}

	public void setSenderTarget(java.lang.String senderTarget) {
		this.senderTarget = senderTarget;
	}

	public java.lang.Integer getSendStatus() {
		return sendStatus;
	}

	public void setSendStatus(java.lang.Integer sendStatus) {
		this.sendStatus = sendStatus;
	}

	public java.lang.String getMsgAbstract() {
		return msgAbstract;
	}

	public void setMsgAbstract(java.lang.String msgAbstract) {
		this.msgAbstract = msgAbstract;
	}

	public java.lang.Boolean getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(java.lang.Boolean isDelete) {
		this.isDelete = isDelete;
	}

	public java.util.Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(java.util.Date createTime) {
		this.createTime = createTime;
	}

	public java.util.Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(java.util.Date updateTime) {
		this.updateTime = updateTime;
	}
	public Message() {
		
	}
	public Message(Long msgId, Integer sendStatus, String remark) {
		super();
		this.msgId = msgId;
		this.sendStatus = sendStatus;
		this.remark = remark;
	}
	public Message(Integer msgType, String msgTitle, String msgContent, Long sender, Long reciever, String senderTarget,
			Integer sendStatus, String msgAbstract, String remark) {
		super();
		this.msgType = msgType;
		this.msgTitle = msgTitle;
		this.msgContent = msgContent;
		this.sender = sender;
		this.reciever = reciever;
		this.senderTarget = senderTarget;
		this.sendStatus = sendStatus;
		this.msgAbstract = msgAbstract;
		this.remark = remark;
	}

	public Message(Integer msgType, String msgContent, Long reciever, 
			Date sendTime, Integer sendStatus, Date createTime, Date updateTime) {
		super();
		this.msgType = msgType;
		this.msgContent = msgContent;
		this.reciever = reciever;
		this.sendTime = sendTime;
		this.sendStatus = sendStatus;
		this.createTime = createTime;
		this.updateTime = updateTime;
	}
	
}